<?php
namespace App\Service;

use App\Interfaces\CmsInterface;

class OtherCms implements CmsInterface
{
	private $path;

	private $token;

	public function __construct($path=null, $token=null )
	{
		$this->path = $path;
		$this->token = $token;
	}

	public function getList($collection, $filter = [])
	{
		return json_encode(
			[
				'title' => "foo",
				'description' => "bar",
				'path' => $this->path,
				'token' => $this->token
			]
		);
	}
}
